find odd and even number from input